package com.leo.quartz.service;

import com.leo.base.PageResponse;
import com.leo.base.ReturnResponse;
import com.leo.quartz.common.request.MyJobDetailRequestParam;
import com.leo.quartz.common.response.task.TriggerVO;

/**
 * JobTriggerService
 *
 * @author liusl
 * @version 1.0
 * @date 2018/12/9 16:06
 */
public interface JobTriggerService {

    ReturnResponse getJobDtailById(Long id);

    /**
     * 查询
     * @param requestParam requestParam
     * @return ReturnResponse
     */
    PageResponse<TriggerVO> queryTriggerList(MyJobDetailRequestParam requestParam);

    ReturnResponse removeJob(Long id);

    ReturnResponse addJob(MyJobDetailRequestParam param);

    ReturnResponse editJobDetail(MyJobDetailRequestParam param);
}
